package org.cainiao.api.lark.dto.response.docs.docs.apireference.document;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;

/**
 * <br />
 * <p>
 * Author: Cai Niao(wdhlzd@163.com)<br />
 */
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Data
public class LarkFileBlock implements Serializable {

    @Serial
    private static final long serialVersionUID = 1420884510876893120L;

    /**
     * 附件 Token
     */
    private String token;

    /**
     * 文件名
     */
    private String name;

    /**
     * 视图类型，卡片视图（默认）或预览视图
     */
    private int viewType;
}
